package com.etc.repository;

import com.etc.entity.SysUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author 武晓春
 * @Description 用户持久层
 * @Date 2021/2/19  18:11
 **/
@Repository
public interface SysUserRepository extends JpaRepository<SysUser,Integer> {

   List<SysUser> findByUsername(String username);
}
